// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "AbilitySystemGlobals.h"

#include "LyraAbilitySystemGlobals.generated.h"

class UObject;
struct FGameplayEffectContext;

/** Holds global data for the ability system. Can be configured per project via config file */

/** UAbilitySystemGlobals: 拥有整个游戏玩法系统数据。能够通过配置文件在每个项目配置。 */

/**
 * NOTE: 需要在DefaultGame.ini 配置文件里进行配置，配置内容如下：
 * [/Script/GameplayAbilities.AbilitySystemGlobals]
 * AbilitySystemGlobalsClassName=/Script/LyraGame.LyraAbilitySystemGlobals
 */
UCLASS(Config=Game)
class ULyraAbilitySystemGlobals : public UAbilitySystemGlobals
{
	GENERATED_UCLASS_BODY()

	//~UAbilitySystemGlobals interface
	virtual FGameplayEffectContext* AllocGameplayEffectContext() const override;
	//~End of UAbilitySystemGlobals interface
};
